package com.belizer.pay.utils;

import java.util.HashMap;
import java.util.Map;

public class BeanUtils {
    public static Map<String,Object>  beanToMap(Object bean) {
        Map<String,Object> res = new HashMap<>();
        org.springframework.beans.BeanUtils.copyProperties(bean,res);
        return res;
    }
}
